package com.gemantic.process.core;


/**
 * @author xiedi
 * @date 2022/05/12 17:25
 **/
final class DefaultProcessHandlerContext extends AbstractProcessHandlerContext {

    private final ProcessHandler processHandler;

    public DefaultProcessHandlerContext(DefaultProcessPipeline pipeline, String name, ProcessHandler processHandler) {
        super(pipeline, name);
        this.processHandler = processHandler;
    }

    @Override
    public ProcessHandler handler() {
        return processHandler;
    }
}
